-- GENERATED SPELL FOR [Skeletal Horror] --


function spell0_202(pUnit, Event) --@Terrify,n/a--
pUnit:FullCastSpellOnTarget(7399,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_202', 4254, 1)
end

function Sorts_202(pUnit, Event)
local choix_sorts_202 = math.random(0, 0)
if choix_sorts_202 == 0 then
pUnit:RegisterEvent('spell0_202', 1, 1)
end
end

function mob202_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_202', math.random(1500, 3000), 1)
end

function mob202_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob202_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob202_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(202, 1, 'mob202_Action')
RegisterUnitEvent(202, 2, 'mob202_Leave')
RegisterUnitEvent(202, 3, 'mob202_Kill')
RegisterUnitEvent(202, 4, 'mob202_Die')
